package cn.s1995.sloth.bizs.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;
import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import java.time.LocalDateTime;

/**
 * 产品分组引用
 *
 * @author sloth
 * @date 2023-12-20 09:52:18
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "产品分组引用")
@TableName("biz_prod_group_reference")
public class ProdGroupReference extends BaseEntity {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "ID")
    private Long id;

	/**
	* 店铺id
	*/
    @Schema(description = "店铺id")
    private Long shopId;

	/**
	* 产品分组id
	*/
    @Schema(description = "产品分组id")
    private Long groupId;

	/**
	* 产品id
	*/
    @Schema(description = "产品id")
    private Long prodId;

	/**
	* 状态: 1.启用 0.禁用
	*/
    @Schema(description = "状态: 1.启用 0.禁用")
    private Integer state;
}
